using System;
using System.Collections.Generic;
using System.Text;

namespace WOWEquipOptimizer
{
    [Flags]
    public enum WeaponSlot { MainHand=1, OffHand=2, Ranged=4 };
    public class Weapon : Item
    {
        public static Weapon None = new Weapon();
        private WeaponType m_Type = WeaponType.Misc;

        public WeaponType Type
        {
            get { return m_Type; }
            set { m_Type = value; }
        }
        private float m_DPS = 0f;

        public float DPS
        {
            get { return m_DPS; }
            set { m_DPS = value; }
        }
        private float m_Speed = 0f;

        public float Speed
        {
            get { return m_Speed; }
            set { m_Speed = value; }
        }
        private bool m_TwoHand = false;

        public bool TwoHand
        {
            get { return m_TwoHand; }
            set { m_TwoHand = value; }
        }
        private WeaponSlot m_WeaponSlot;

        public WeaponSlot WeaponSlot
        {
            get { return m_WeaponSlot; }
            set { m_WeaponSlot = value; }
        }
    }
}
